<h1>Listing procedures</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Info</th>
  </tr>

<% @procedures.each do |procedure| %>
  <tr>
    <td><%=h procedure.name %></td>
    <td><%=h procedure.info %></td>
    <td><%= link_to 'Show', procedure %></td>
    <td><%= link_to 'Edit', edit_procedure_path(procedure) %></td>
    <td><%= link_to 'Destroy', procedure, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New procedure', new_procedure_path %>